package org.lifei.org.mapper;

import org.lifei.auth.dto.LoginDTO;
import org.lifei.org.domain.Employee;
import org.lifei.base.mapper.BaseMapper;
import org.lifei.org.query.EmployeeQuery;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lifei
 * @since 2024-01-17
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    void batchInsert(List<Employee> list);
    List<Employee> querydown();
    Employee selectByUsername(LoginDTO loginDTO);

    List<Employee> selectByKey(EmployeeQuery employeeQuery);

    List<String> selectPermissionSnsById(Long id);
}
